package com.hukun.clazz;

public  abstract class Car {



private String brand;
private int kilometres;


    public Car() {
    }

    public Car(String brand) {
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getKilometres() {
        return kilometres;
    }

    public void setKilometres(int kilometres) {
        this.kilometres = kilometres;
    }




    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", kilometres=" + kilometres +
                '}';
    }
}
